#!/bin/bash

kill `cat app_server.py.pid`
while netstat | grep 9080 | egrep "^tcp" >/dev/null; do
	sleep 1
done
python ./app_server.py serve
